<%@page import="java.util.ArrayList"%>
<%@page import="dto.VehiculoDTO"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
    <%@include file="../css/bootstrap.min.css" %></style>
<title>Mentenimiento de vehiculos</title>
</head>
<body>
<div class="container">
		<h2>Mantenimiento de vehiculos</h2>
		<hr>
		<div class="panel panel-default">
			<div class="panel-heading">Vehiculos a mantener</div>
			<div class="panel-body">
				<form name="myform" action="SrvMantenimientoVehiculo" method="GET">
					<div align="center"><br>
						<% for(VehiculoDTO vehiculo : (ArrayList<VehiculoDTO>)request.getAttribute("vehiculosSinMantenimiento")){ %>
								<input type="checkbox" name="vehiculos[]" id="vehiculos[]" value="<%=vehiculo.getIdVehiculo() %>"> <%=vehiculo.getInfoRegistro() %><br>
						<% } %>
					<br>
					<button type="submit" class="btn btn-danger" name="origen" value="confirmarmantenimiento">Confirmar</button>
					</div>
				</form>
			</div>
		</div>
	</div>
	<script src="https://code.jquery.com/jquery.js"></script>
	<script src="../js/bootstrap.min.js"></script>
	<script type="text/javascript">
	</script>
</body>
</html>